package com.xyz.wll.es.util.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Map;

@Data
public class DocRecord {
    @JSONField(name = "_index")
    String index;

    @JSONField(name = "_type")
    String type;

    @JSONField(name = "_id")
    String id;

    @JSONField(name = "_score")
    Float score;

    @JSONField(name = "_source")
    Map<String, Object> source;
}
